﻿@model IEnumerable<Models.CMS_Keyword>

@*@model IEnumerable<Models.CMS_Keyword>*@
<!DOCTYPE html>
<html>
<head>
    <title>云阿拉丁商务 - 您身边的解决方案专家</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="~/1前台/css/default.css" />
</head>
<body>
    <!-- 网站头部 -->
    <header class="hd">
        <div class="hd-top am-hide-sm-down">
            <div class="cg">
                <div class="hd-top-left">
                    <a href="#">设为首页</a>
                    <a href="#">收藏</a>
                    <a href="#">RSS订阅</a>
                </div>
                <div class="hd-top-right">
                    <a href="https://localhost:44347/Home/register">注册</a>
                    <a href="https://localhost:44347/Home/Login">登录</a>
                </div>
            </div>
        </div>
        <div class="cg">
            <div class="hd-search">
                <div class="hd-search-left">
                    <a href="~/Views/Home/Index.cshtml"><img src="~/1前台/images/logo.jpg" /></a>
                </div>
                <div class="hd-search-right">
                    <div class="hd-search-right-input">
                        <input type="text" name="name" value="" id="title" placeholder="搜索" />
                        <button class="font" onclick="Select()">&#xe634;</button>
                    </div>
                    <div class="hd-search-right-keyword" id="gjz">
                        @foreach (var item in Model as List<Models.CMS_Keyword>)
                        {
                            @*<a href="#">@item.keyword</a>*@
                            @Html.ActionLink(item.keyword, "CPZX2", new { name = item.keyword })

                        }
                    </div>
                </div>
            </div>
        </div>
        <div class="hd-bottom">
            <div class="cg">
                <div class="hd-bottom-category">
                    <!-- 需要到这里开通：http://shang.qq.com/v3/widget.html  -->
                    <h1><a href="http://wpa.qq.com/msgrd?v=3&uin=191458000&site=qq&menu=yes" target="_blank" class="am-icon-qq">业务咨询QQ</a></h1>
                </div>
                <div class="hd-bottom-nav" id="my-modal">
                    <ul>
                        <li class="on"><a href="https://localhost:44347/Home/Index">首页</a></li>
                        @foreach (var item in ViewBag.Category as List<Models.CMS_Category>)
                        {
                            <li>@*<a href="~/1前台/list.html">@item.ctitle @Html.Action("CPZX","Home",new { id = item.cid })*@
                                @Html.ActionLink(item.ctitle, "CPZX",new { id = item.cid})
                                @*</a>*@</li>
                        }
                        
                    </ul>
                </div>
            </div>
        </div>
    </header>

    <div>

        <!-- 网站公告 -->
        <div class="notice">
            <div class="cg">
                <!-- 左边 -->
                <div class="am-u-sm-12 am-u-md-8">
                    <div class="notice-left">
                        <div class="notice-left-img" id="noticeimg">
                            <a href="#"><img src="~/1前台/images/demo1.jpg" /></a>
                        </div>
                    </div>
                </div>
                <div>

                    <!-- 右边 -->
                    <div class="am-u-sm-12 am-u-md-4">
                        <div class="notice-right">
                            <div class="notice-right-div">
                                <h1 class="comh1">
                                    网站公告
                                    <em>
                                        <a href="#"><b>MORE</b><i>&#xe696;</i></a>
                                    </em>
                                </h1>

                                @* <strong><a href="page.html">外卖O2O系统无线云打印支持型号系统无线云打印支持型号</a></strong>*@
                                @foreach (var item in ViewBag.Article as List<Models.CMS_Article>)
                                {
                                    if (item.istop == true)
                                    {
                                        <strong><a href="page.html">@*@item.title*@ @Html.ActionLink(item.title, "CPZX3",new { id=item.aid })</a></strong>
                                    }
                                }
                            <ul>
                                @foreach (var item in ViewBag.Article as List<Models.CMS_Article>)
                                {
                                    if (item.istop != true) {
                                        <li><a href="page.html"><span>@Html.ActionLink(item.title, "CPZX3", new { id = item.aid })</span></a></li>
                                    }
                                }
                            </ul>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>

        <!-- 广告 -->
        <div class="ads">
            <div class="cg">
                <img src="~/1前台/images/demo3.jpg" />
            </div>
        </div>

        <!-- 文章组 -->
        <div class="index-category">
            <div class="cg">
                <div class="am-u-sm-12 am-u-md-4">
                    <div class="index-category-left">
                        <h1 class="comh1">
                            产品中心
                            <em>
                                <a href="#"><b>MORE</b><i>&#xe696;</i></a>
                            </em>
                        </h1>
                        <img src="~/1前台/images/demo4.jpg" />
                        <ul class="comcategory">
                            @foreach (var item in ViewBag.Article2 as List<Models.CMS_Article>)
                            {
                                <li><a href="#"><span>@item.title</span><i>@item.ctime</i></a></li>
                            }
                        </ul>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-4">
                    <div class="index-category-left">
                        <h1 class="comh1">
                            定制服务
                            <em>
                                <a href="#"><b>MORE</b><i>&#xe696;</i></a>
                            </em>
                        </h1>
                        <img src="~/1前台/images/demo5.jpg" />
                        <ul class="comcategory">
                            @foreach (var item in ViewBag.Article3 as List<Models.CMS_Article>)
                            {
                                    <li><a href="#"><span>@item.title</span><i>@item.ctime</i></a></li>
                            }
                            
                            @*<li><a href="#"><span>Dreamweaver8创建自定义代码片段的方法</span><i>2016-06-16</i></a></li>
                            <li><a href="#"><span>Dreamweaver8创建自定义代码片段的方法</span><i>2016-06-16</i></a></li>
                            <li><a href="#"><span>Dreamweaver8创建自定义代码片段的方法</span><i>2016-06-16</i></a></li>
                            <li><a href="#"><span>Dreamweaver8创建自定义代码片段的方法</span><i>2016-06-16</i></a></li>
                            <li><a href="#"><span>Dreamweaver8创建自定义代码片段的方法</span><i>2016-06-16</i></a></li>*@
                        </ul>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-4">
                    <div class="index-category-left index-category-right">
                        <h1 class="comh1">
                            成功案例
                            <em>
                                <a href="#"><b>MORE</b><i>&#xe696;</i></a>
                            </em>
                        </h1>
                        <img src="~/1前台/images/demo5.jpg" />
                        <ul class="comcategory">
                            @foreach (var item in ViewBag.Article4 as List<Models.CMS_Article>)
                            {
                                <li><a href="#"><span>@item.title</span><i>@item.ctime</i></a></li>
                            }
                        </ul>
                    </div>
                </div>
                <!-- 第三组文章end -->
            </div>
        </div>

        <!-- 广告 -->
        <div class="ads">
            <div class="cg">
                <img src="~/1前台/images/demo6.jpg" />
            </div>
        </div>
    </div>
    <!-- 页脚 -->
    ﻿<footer class="footer">
        <div class="cg">
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-6">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-8">
                    <div class="footer-div1 am-hide-md-down">
                        <h1>关于我们</h1>
                        <div class="footer-div1-top">
                            <img src="~/1前台/images/footer.jpg" />
                            <span><em>大冶市云阿拉丁科技有限公司成立于2015</em></span>
                        </div>
                        <div class="footer-div1-bottom">
                            云阿拉丁科技有限公司创建于2015年1月5日，总 部位于青铜故里——大冶市。公司致力于帮助传统行业力
                        </div>
                        <em><a href="#">阅读更多>></a></em>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-4">
                    <div class="footer-div2 am-hide-md-down">
                        <h1>职位招聘</h1>
                        <ul>
                            <li><a href="#">招聘销售专员销售管理人员</a></li>
                            <li><a href="#">市场销售</a></li>
                            <li><a href="#">营销客服经理</a></li>
                            <li><a href="#">涉外律师</a></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-6">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-8">
                    <div class="footer-div3 am-hide-md-down">
                        <h1>联系我们</h1>
                        <ul>
                            <li><i>&#xe617;</i>地址 Add : 大冶市大冶大道116号2栋金穗小区B幢201房</li>
                            <li><i>&#xe601;</i>电话Tel：(86) 0714-8868331</li>
                            <li><i>&#xe602;</i>传真Fax：(86) 0714-8868331</li>
                            <li><i>&#xe691;</i>dayeyunalading.com</li>
                        </ul>
                    </div>
                </div>
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-4">
                    <div class="footer-div3 am-hide-md-down">
                        <h1>关注我们</h1>
                        <ul>
                            <li><em>&#xe644;</em><b>新浪微博</b></li>
                            <li><em>&#xe6c9;</em><b>优酷</b></li>
                            <li><em>&#xe66f;</em><b>微信</b></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div class="footer-bottom am-hide-md-down">
                    <div class="footer-bottom-link">
                        <div class="am-u-sm-3 am-u-md-2 am-u-lg-2"><span>友情链接：</span></div>
                        <div class="am-u-sm-9 am-u-md-10 am-u-lg-10">
                            <strong>
                                <a href="#">北京网站建设</a>
                                <a href="#">网站建设</a>
                                <a href="#">网站设计</a>
                                <a href="#">合肥网站建设</a>
                                <a href="#">网站建设</a>
                                <a href="#">网店系统</a>
                                <a href="#">企业网站建设</a>
                                <a href="#">上海网站设计</a>
                                <a href="#">香港服务器</a>

                                <a href="#">网站建设</a>
                                <a href="#">网店系统</a>
                                <a href="#">企业网站建设</a>
                                <a href="#">上海网站设计</a>
                                <a href="#">香港服务器</a>

                            </strong>
                        </div>
                    </div>
                </div>
                <h2>申请友情链接请联系QQ：00000000</h2>
                <h3>2015-2016 版权所有 云阿拉丁商务有限公司.</h3>
            </div>
        </div>
    </footer>
     <script src="~/Scripts/jquery-3.6.0.js"></script>
     <script>
        function Select() {
            var title = $("#title").val();
            //alert(title);
            $.ajax({
                type: "post",
                url: "@Url.Action("CPZX2")",
                data: JSON.stringify({ name: title ,a :1}),
                datatype: 'json',
                contentType: "application/json",
                success: function (rs) {
                    
                    //window.location = rs;
                    //if (rs) {
                    //    alert("添加成功！");
                    //    window.location.href = "https://localhost:44347/HouTaiArea/Index/GetCMS_Keyword";
                    //} else {
                    //    alert("添加失败！");
                    //}
                }
        })
        }
     </script>
     <!--<script>
        function Select() {
            //document.getElementById("title").innerText;
            var title = $("#title").val();-->
            
            
            @*$.ajax({
                type: "get",
                url: "@Url.Action("CPZX2")",
                data: JSON.stringify({ name: title }),
                datatype: 'json',
                contentType: "application/json",
                success: function (rs) {
                    window.location = rs;
                    //if (rs) {
                    //    alert("添加成功！");
                    //    window.location.href = "https://localhost:44347/HouTaiArea/Index/GetCMS_Keyword";
                    //} else {
                    //    alert("添加失败！");
                    //}
                }
        })*@
     <!--</script>-->
</body>

</html>

}
